//微电网
import request from '@/utils/request'
// 查询微电网企业列表
export const getdianwanglistapi = () => request.get('mgd-microservice-biz/pes/basic/energyType/getMicrogridCompanyList')
// 查询电价方案列表
export const getdianjialistapi = params => request.get('mgd-microservice-biz/mgd/configure/price/page', { params })
// 获取电价方案列表
export const getfanganlistapi = params => request.get('mgd-microservice-biz/mgd/configure/price/getElectricScheme', { params })
// 获取计费类型下拉
export const getjifeilistapi = params => request.get('mgd-microservice-biz/mgd/configure/price/getChargeType', { params })
// 新增
export const postaddlistapi = data => request.post('mgd-microservice-biz/mgd/configure/price/add', data)
// 修改
export const postupdatelistapi = data => request.post('mgd-microservice-biz/mgd/configure/price/update', data)
// 删除
export const postdeletelistapi=id=>request.post(`mgd-microservice-biz/mgd/configure/price/delete?id=${id}`)